package org.grow.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @Author: xwg
 * @CreateDate: 21-8-16
 */
@Service
@FeignClient(value = "provider",fallback = ProviderFeignFB.class)
public interface ProviderFeignService {

    @PutMapping("/pc/{id}")
    String getFullName(@PathVariable("id") String id);
}
